﻿namespace WMS6.Web.AnalyticsReportServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="ReceiptDetailRptInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class ReceiptDetailRptInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private string CONDITION_CODEField;
        [OptionalField]
        private string CURRENTPAGEField;
        [OptionalField]
        private decimal EXPECTED_QTYField;
        [OptionalField]
        private DateTime EXPIRY_DATEField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private string EXTERN_RECEIPT_IDField;
        [OptionalField]
        private string EXTERNAL_LOTField;
        [OptionalField]
        private string LOT_ATTR01Field;
        [OptionalField]
        private string LOT_ATTR02Field;
        [OptionalField]
        private string LOT_ATTR03Field;
        [OptionalField]
        private string LOT_ATTR04Field;
        [OptionalField]
        private string LOT_ATTR05Field;
        [OptionalField]
        private string LOT_ATTR06Field;
        [OptionalField]
        private string LOT_ATTR07Field;
        [OptionalField]
        private string LOT_ATTR08Field;
        [OptionalField]
        private string LOT_ATTR09Field;
        [OptionalField]
        private string LOT_ATTR10Field;
        [OptionalField]
        private string OWNER_IDField;
        [OptionalField]
        private string PACK_IDField;
        [OptionalField]
        private string PO_IDField;
        [OptionalField]
        private decimal PRICEField;
        [OptionalField]
        private DateTime PRODUCE_DATEField;
        [OptionalField]
        private string RECEIPT_IDField;
        [OptionalField]
        private int RECEIPT_LINE_IDField;
        [OptionalField]
        private string RECEIPT_TYPEField;
        [OptionalField]
        private DateTime RECEIVED_DATEField;
        [OptionalField]
        private decimal RECEIVED_QTYField;
        [OptionalField]
        private string REMARKField;
        [OptionalField]
        private string RMAField;
        [OptionalField]
        private string SKU_CLASS_DESCRField;
        [OptionalField]
        private string SKU_CLASS_IDField;
        [OptionalField]
        private string SKU_DESCRField;
        [OptionalField]
        private string SKU_GROUPField;
        [OptionalField]
        private string SKU_IDField;
        [OptionalField]
        private string SKU_PROPERTYField;
        [OptionalField]
        private string SKU_STYLEField;
        [OptionalField]
        private string SKU_UDF2Field;
        [OptionalField]
        private string STATUSField;
        [OptionalField]
        private string TO_LOTField;
        [OptionalField]
        private string TO_LPN_IDField;
        [OptionalField]
        private float TOTAL_CUBEField;
        [OptionalField]
        private decimal TOTAL_GROSS_WGTField;
        [OptionalField]
        private float TOTAL_WGTField;
        [OptionalField]
        private string TOTALPAGESCOUNTField;
        [OptionalField]
        private string TOTALRECORDSCOUNTField;
        [OptionalField]
        private decimal UNIT_PRICEField;
        [OptionalField]
        private string UOM_DESCRField;
        [OptionalField]
        private string VENDOR_IDField;
        [OptionalField]
        private string VENDOR_NAMEField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public string CONDITION_CODE
        {
            get
            {
                return this.CONDITION_CODEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CONDITION_CODEField, value))
                {
                    this.CONDITION_CODEField = value;
                    this.RaisePropertyChanged("CONDITION_CODE");
                }
            }
        }

        [DataMember]
        public string CURRENTPAGE
        {
            get
            {
                return this.CURRENTPAGEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CURRENTPAGEField, value))
                {
                    this.CURRENTPAGEField = value;
                    this.RaisePropertyChanged("CURRENTPAGE");
                }
            }
        }

        [DataMember]
        public decimal EXPECTED_QTY
        {
            get
            {
                return this.EXPECTED_QTYField;
            }
            set
            {
                if (!this.EXPECTED_QTYField.Equals(value))
                {
                    this.EXPECTED_QTYField = value;
                    this.RaisePropertyChanged("EXPECTED_QTY");
                }
            }
        }

        [DataMember]
        public DateTime EXPIRY_DATE
        {
            get
            {
                return this.EXPIRY_DATEField;
            }
            set
            {
                if (!this.EXPIRY_DATEField.Equals(value))
                {
                    this.EXPIRY_DATEField = value;
                    this.RaisePropertyChanged("EXPIRY_DATE");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public string EXTERN_RECEIPT_ID
        {
            get
            {
                return this.EXTERN_RECEIPT_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EXTERN_RECEIPT_IDField, value))
                {
                    this.EXTERN_RECEIPT_IDField = value;
                    this.RaisePropertyChanged("EXTERN_RECEIPT_ID");
                }
            }
        }

        [DataMember]
        public string EXTERNAL_LOT
        {
            get
            {
                return this.EXTERNAL_LOTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.EXTERNAL_LOTField, value))
                {
                    this.EXTERNAL_LOTField = value;
                    this.RaisePropertyChanged("EXTERNAL_LOT");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR01
        {
            get
            {
                return this.LOT_ATTR01Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR01Field, value))
                {
                    this.LOT_ATTR01Field = value;
                    this.RaisePropertyChanged("LOT_ATTR01");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR02
        {
            get
            {
                return this.LOT_ATTR02Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR02Field, value))
                {
                    this.LOT_ATTR02Field = value;
                    this.RaisePropertyChanged("LOT_ATTR02");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR03
        {
            get
            {
                return this.LOT_ATTR03Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR03Field, value))
                {
                    this.LOT_ATTR03Field = value;
                    this.RaisePropertyChanged("LOT_ATTR03");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR04
        {
            get
            {
                return this.LOT_ATTR04Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR04Field, value))
                {
                    this.LOT_ATTR04Field = value;
                    this.RaisePropertyChanged("LOT_ATTR04");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR05
        {
            get
            {
                return this.LOT_ATTR05Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR05Field, value))
                {
                    this.LOT_ATTR05Field = value;
                    this.RaisePropertyChanged("LOT_ATTR05");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR06
        {
            get
            {
                return this.LOT_ATTR06Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR06Field, value))
                {
                    this.LOT_ATTR06Field = value;
                    this.RaisePropertyChanged("LOT_ATTR06");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR07
        {
            get
            {
                return this.LOT_ATTR07Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR07Field, value))
                {
                    this.LOT_ATTR07Field = value;
                    this.RaisePropertyChanged("LOT_ATTR07");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR08
        {
            get
            {
                return this.LOT_ATTR08Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR08Field, value))
                {
                    this.LOT_ATTR08Field = value;
                    this.RaisePropertyChanged("LOT_ATTR08");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR09
        {
            get
            {
                return this.LOT_ATTR09Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR09Field, value))
                {
                    this.LOT_ATTR09Field = value;
                    this.RaisePropertyChanged("LOT_ATTR09");
                }
            }
        }

        [DataMember]
        public string LOT_ATTR10
        {
            get
            {
                return this.LOT_ATTR10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LOT_ATTR10Field, value))
                {
                    this.LOT_ATTR10Field = value;
                    this.RaisePropertyChanged("LOT_ATTR10");
                }
            }
        }

        [DataMember]
        public string OWNER_ID
        {
            get
            {
                return this.OWNER_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OWNER_IDField, value))
                {
                    this.OWNER_IDField = value;
                    this.RaisePropertyChanged("OWNER_ID");
                }
            }
        }

        [DataMember]
        public string PACK_ID
        {
            get
            {
                return this.PACK_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PACK_IDField, value))
                {
                    this.PACK_IDField = value;
                    this.RaisePropertyChanged("PACK_ID");
                }
            }
        }

        [DataMember]
        public string PO_ID
        {
            get
            {
                return this.PO_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PO_IDField, value))
                {
                    this.PO_IDField = value;
                    this.RaisePropertyChanged("PO_ID");
                }
            }
        }

        [DataMember]
        public decimal PRICE
        {
            get
            {
                return this.PRICEField;
            }
            set
            {
                if (!this.PRICEField.Equals(value))
                {
                    this.PRICEField = value;
                    this.RaisePropertyChanged("PRICE");
                }
            }
        }

        [DataMember]
        public DateTime PRODUCE_DATE
        {
            get
            {
                return this.PRODUCE_DATEField;
            }
            set
            {
                if (!this.PRODUCE_DATEField.Equals(value))
                {
                    this.PRODUCE_DATEField = value;
                    this.RaisePropertyChanged("PRODUCE_DATE");
                }
            }
        }

        [DataMember]
        public string RECEIPT_ID
        {
            get
            {
                return this.RECEIPT_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RECEIPT_IDField, value))
                {
                    this.RECEIPT_IDField = value;
                    this.RaisePropertyChanged("RECEIPT_ID");
                }
            }
        }

        [DataMember]
        public int RECEIPT_LINE_ID
        {
            get
            {
                return this.RECEIPT_LINE_IDField;
            }
            set
            {
                if (!this.RECEIPT_LINE_IDField.Equals(value))
                {
                    this.RECEIPT_LINE_IDField = value;
                    this.RaisePropertyChanged("RECEIPT_LINE_ID");
                }
            }
        }

        [DataMember]
        public string RECEIPT_TYPE
        {
            get
            {
                return this.RECEIPT_TYPEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RECEIPT_TYPEField, value))
                {
                    this.RECEIPT_TYPEField = value;
                    this.RaisePropertyChanged("RECEIPT_TYPE");
                }
            }
        }

        [DataMember]
        public DateTime RECEIVED_DATE
        {
            get
            {
                return this.RECEIVED_DATEField;
            }
            set
            {
                if (!this.RECEIVED_DATEField.Equals(value))
                {
                    this.RECEIVED_DATEField = value;
                    this.RaisePropertyChanged("RECEIVED_DATE");
                }
            }
        }

        [DataMember]
        public decimal RECEIVED_QTY
        {
            get
            {
                return this.RECEIVED_QTYField;
            }
            set
            {
                if (!this.RECEIVED_QTYField.Equals(value))
                {
                    this.RECEIVED_QTYField = value;
                    this.RaisePropertyChanged("RECEIVED_QTY");
                }
            }
        }

        [DataMember]
        public string REMARK
        {
            get
            {
                return this.REMARKField;
            }
            set
            {
                if (!object.ReferenceEquals(this.REMARKField, value))
                {
                    this.REMARKField = value;
                    this.RaisePropertyChanged("REMARK");
                }
            }
        }

        [DataMember]
        public string RMA
        {
            get
            {
                return this.RMAField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RMAField, value))
                {
                    this.RMAField = value;
                    this.RaisePropertyChanged("RMA");
                }
            }
        }

        [DataMember]
        public string SKU_CLASS_DESCR
        {
            get
            {
                return this.SKU_CLASS_DESCRField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_CLASS_DESCRField, value))
                {
                    this.SKU_CLASS_DESCRField = value;
                    this.RaisePropertyChanged("SKU_CLASS_DESCR");
                }
            }
        }

        [DataMember]
        public string SKU_CLASS_ID
        {
            get
            {
                return this.SKU_CLASS_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_CLASS_IDField, value))
                {
                    this.SKU_CLASS_IDField = value;
                    this.RaisePropertyChanged("SKU_CLASS_ID");
                }
            }
        }

        [DataMember]
        public string SKU_DESCR
        {
            get
            {
                return this.SKU_DESCRField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_DESCRField, value))
                {
                    this.SKU_DESCRField = value;
                    this.RaisePropertyChanged("SKU_DESCR");
                }
            }
        }

        [DataMember]
        public string SKU_GROUP
        {
            get
            {
                return this.SKU_GROUPField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_GROUPField, value))
                {
                    this.SKU_GROUPField = value;
                    this.RaisePropertyChanged("SKU_GROUP");
                }
            }
        }

        [DataMember]
        public string SKU_ID
        {
            get
            {
                return this.SKU_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_IDField, value))
                {
                    this.SKU_IDField = value;
                    this.RaisePropertyChanged("SKU_ID");
                }
            }
        }

        [DataMember]
        public string SKU_PROPERTY
        {
            get
            {
                return this.SKU_PROPERTYField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_PROPERTYField, value))
                {
                    this.SKU_PROPERTYField = value;
                    this.RaisePropertyChanged("SKU_PROPERTY");
                }
            }
        }

        [DataMember]
        public string SKU_STYLE
        {
            get
            {
                return this.SKU_STYLEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_STYLEField, value))
                {
                    this.SKU_STYLEField = value;
                    this.RaisePropertyChanged("SKU_STYLE");
                }
            }
        }

        [DataMember]
        public string SKU_UDF2
        {
            get
            {
                return this.SKU_UDF2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.SKU_UDF2Field, value))
                {
                    this.SKU_UDF2Field = value;
                    this.RaisePropertyChanged("SKU_UDF2");
                }
            }
        }

        [DataMember]
        public string STATUS
        {
            get
            {
                return this.STATUSField;
            }
            set
            {
                if (!object.ReferenceEquals(this.STATUSField, value))
                {
                    this.STATUSField = value;
                    this.RaisePropertyChanged("STATUS");
                }
            }
        }

        [DataMember]
        public string TO_LOT
        {
            get
            {
                return this.TO_LOTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TO_LOTField, value))
                {
                    this.TO_LOTField = value;
                    this.RaisePropertyChanged("TO_LOT");
                }
            }
        }

        [DataMember]
        public string TO_LPN_ID
        {
            get
            {
                return this.TO_LPN_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TO_LPN_IDField, value))
                {
                    this.TO_LPN_IDField = value;
                    this.RaisePropertyChanged("TO_LPN_ID");
                }
            }
        }

        [DataMember]
        public float TOTAL_CUBE
        {
            get
            {
                return this.TOTAL_CUBEField;
            }
            set
            {
                if (!this.TOTAL_CUBEField.Equals(value))
                {
                    this.TOTAL_CUBEField = value;
                    this.RaisePropertyChanged("TOTAL_CUBE");
                }
            }
        }

        [DataMember]
        public decimal TOTAL_GROSS_WGT
        {
            get
            {
                return this.TOTAL_GROSS_WGTField;
            }
            set
            {
                if (!this.TOTAL_GROSS_WGTField.Equals(value))
                {
                    this.TOTAL_GROSS_WGTField = value;
                    this.RaisePropertyChanged("TOTAL_GROSS_WGT");
                }
            }
        }

        [DataMember]
        public float TOTAL_WGT
        {
            get
            {
                return this.TOTAL_WGTField;
            }
            set
            {
                if (!this.TOTAL_WGTField.Equals(value))
                {
                    this.TOTAL_WGTField = value;
                    this.RaisePropertyChanged("TOTAL_WGT");
                }
            }
        }

        [DataMember]
        public string TOTALPAGESCOUNT
        {
            get
            {
                return this.TOTALPAGESCOUNTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TOTALPAGESCOUNTField, value))
                {
                    this.TOTALPAGESCOUNTField = value;
                    this.RaisePropertyChanged("TOTALPAGESCOUNT");
                }
            }
        }

        [DataMember]
        public string TOTALRECORDSCOUNT
        {
            get
            {
                return this.TOTALRECORDSCOUNTField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TOTALRECORDSCOUNTField, value))
                {
                    this.TOTALRECORDSCOUNTField = value;
                    this.RaisePropertyChanged("TOTALRECORDSCOUNT");
                }
            }
        }

        [DataMember]
        public decimal UNIT_PRICE
        {
            get
            {
                return this.UNIT_PRICEField;
            }
            set
            {
                if (!this.UNIT_PRICEField.Equals(value))
                {
                    this.UNIT_PRICEField = value;
                    this.RaisePropertyChanged("UNIT_PRICE");
                }
            }
        }

        [DataMember]
        public string UOM_DESCR
        {
            get
            {
                return this.UOM_DESCRField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UOM_DESCRField, value))
                {
                    this.UOM_DESCRField = value;
                    this.RaisePropertyChanged("UOM_DESCR");
                }
            }
        }

        [DataMember]
        public string VENDOR_ID
        {
            get
            {
                return this.VENDOR_IDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VENDOR_IDField, value))
                {
                    this.VENDOR_IDField = value;
                    this.RaisePropertyChanged("VENDOR_ID");
                }
            }
        }

        [DataMember]
        public string VENDOR_NAME
        {
            get
            {
                return this.VENDOR_NAMEField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VENDOR_NAMEField, value))
                {
                    this.VENDOR_NAMEField = value;
                    this.RaisePropertyChanged("VENDOR_NAME");
                }
            }
        }
    }
}

